                                                              package cn.tedu._04mybatis.mapper;

import cn.tedu._04mybatis.pojo.entity.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper//为该接口创建实现类的注解
public interface UserMapper {
    //@Insert("INSERT INTO user(username,password,nickname,created) VALUES(#{username},#{password},#{nickname},#{created})")
    int insert(User user);

}
